package hook;

public class HookOpener extends Opener {

    private boolean flag;

    public HookOpener(boolean flag) {
        this.flag = flag;
    }

    @Override
    public boolean isOpen() {
        return flag;
    }
}
